*{
	-moz-user-select: none; 
	-khtml-user-select: none; 
	user-select: none;
}

canvas{
	margin: 0 auto;
}

body{
	margin: 0 auto;
	background:#ffffff;
	background-image:url(../assets/ui/bg.png);
}

header{
	height:25px;
	background-color:#2700AB;
	font-size:12px;
	text-align:right;
	padding:0;
}

header button{
	padding:2px 10px 2px 10px;
	border:double rgba(255,255,255,0.5);
	background-color:black;
	color:white;
	line-height:100%;
}

a{
	text-decoration: none;
	transition:all 0.2s;
	vertical-align: middle;
}

.gamebox{
	margin: 0 auto;
}

.cf:before,
.cf:after {
    content: ""; 
    display: table;
}

.cf:after {
    clear: both;
}
.cf {
    *zoom: 1;
}
:focus {
	outline: 0;
}

.frmtitle{
	height: 25px;
	font-size: 15px;
	color: white;
	background: rgba(0,0,255,0.5);
	border-radius: 5px 5px 0 0;
	vertical-align: middle;
	margin: 0;
}

.frmbottom{
	height: 25px;
	font-size: 15px;
	color: white;
	background: rgba(0,0,255,0.5);
	border-radius: 0 0 5px 5px;
	vertical-align: middle;
	margin: 0;
}

.form{
	left:50%;
	top:0px;
	display:none;
	position:fixed;
	background-color: rgba(250,250,250,0.5);
	border-radius: 5px;
    box-shadow: 0px 0px 5px 0px rgba(0, 0, 0, 0.2), 
    			inset 0px 1px 0px 0px rgba(250, 250, 250, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.3);	
}

/* 登录 */
.login{
	width: 410px;
	padding: 25px;
	margin-left:-205px;
	margin-top:205px;
}

.login input:not([type=button]){
	width: 180px;
	padding: 5px;
	margin-right: 10px;
	border: 1px solid rgba(0, 0, 0, 0.3);
	border-radius: 3px;
	box-shadow: inset 0px 1px 3px 0px rgba(0, 0, 0, 0.1), 
				0px 1px 0px 0px rgba(250, 250, 250, 0.5) ;	
}

.login input[type=button]{
	border: 1px solid rgba(0, 0, 0, 0.3);
	background: #64c8ef; /* Old browsers */
	background: -moz-linear-gradient(top,  #64c8ef 0%, #00a2e2 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#64c8ef), color-stop(100%,#00a2e2)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #64c8ef 0%,#00a2e2 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #64c8ef 0%,#00a2e2 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #64c8ef 0%,#00a2e2 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #64c8ef 0%,#00a2e2 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#64c8ef', endColorstr='#00a2e2',GradientType=0 ); /* IE6-9 */
	color: #fff;
	padding: 5px 25px;
	margin-right: 0;
	margin-top: 15px;
	border-radius: 3px;
	text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.3);
}

.login .errtip{
	color: red;
	margin-top: 20px;
	margin-left:5px;
	font-size: 14px;
}

.login label {
	display: block;
	color: #eeeeee;
	text-shadow: 1px 1px 0px rgba(0, 0, 0,0.6);
}

.login ul {
	padding: 0;
	margin: 0;
}

.login li{
	list-style: none;
	float: left;
}
/*...................登录结束.........................................................................................*/

/* 创建角色 */
.createrole{
	width: 400px;
	height: 300px;
	margin-left:-200px;
	margin-top:135px;
	text-align: center;
	padding: 0;
}

.rolerow{
	width: 100%;
	height: 210px;
	margin: 0 auto;
	display: inline-block;
}

.rolecell{
	width: 165px;
	height: 210px;
	margin: 12px auto;
	border: 1px solid rgba(204,204,204,0.8);
	background-color: #FFFFFF;
	border-radius: 5px;
	transition: border .2s ease-in-out;
	display: inline-block;
}

.rolecell:hover{
	border: 1px solid red;
	cursor: pointer;
}

.rolecell img{
	height: 200px;
	margin: 5px auto 5px auto;
	display: block;
	max-width: 100%;
}

.roleinfo{
	width: 165px;
	height: 44px;
	margin-top: -58px;
	border-top: 1px solid rgba(204,204,204,0.8);
	border-bottom: 1px solid rgba(204,204,204,0.8);
	background-color:rgba(0,0,255,0.2);
	padding: 0;
	display: inline-block;
	vertical-align: top;
}

.roleinfo ul{
	margin: 0;
	padding: 0;
	display: inline;
	list-style: none;
}

.roleinfo li{
	list-style: none;
	text-align: left;
	font-size: 12px;
    color: black;
	text-shadow: 1px 1px rgba(255,255,255,0.8);
	margin: 0 15px;
}

.roledetail{
	margin: -10px 35px;
	height: 50px;
	border-top: 1px solid rgba(205,205,205,0.8);
}

.rolename{
    font-size: 18px;
    color: black;
    font-weight: 900;
    display: block;
	margin: 2px auto;
	text-align: left;
	text-shadow: 2px 2px rgba(255,255,255,0.8);
}

.roledescribe{
	margin: -20px auto;
    font-size: 14px;
    color: black;
	text-shadow: 1px 1px rgba(255,255,255,0.4);
    display: block;
	margin: 2px auto;
	text-align: left;
	font-size: 12px;
}

/*箭头向左*/
.arrow-left {
	float: left;
    width:0; 
    height:0; 
	margin: 90px 40px;
    border-top:30px solid transparent;
    border-bottom: 30px solid transparent;
    border-right:30px solid white; 
}
.arrow-left:hover{
	cursor: pointer;
    border-top:30px solid transparent;
    border-bottom: 30px solid transparent;
    border-right:30px solid #000000; 
}
   
/*箭头向右*/
.arrow-right {
	float: right;
    width:0; 
    height:0; 
	margin: 90px 40px;
    border-top:30px solid transparent;
    border-bottom:30px solid transparent; 
    border-left:30px solid white; 
}

.arrow-right:hover{
	cursor: pointer;
    border-top:30px solid transparent;
    border-bottom:30px solid transparent; 
    border-left:30px solid #000000; 
}
/*...................创建角色结束.........................................................................................*/